export default function (currentTimeInSeconds) {
  // 转换为分钟和秒  
  const minutes = Math.floor(currentTimeInSeconds / 60);
  const seconds = Math.floor(currentTimeInSeconds % 60);

  // 确保秒数总是两位数  
  const formattedMinutes = minutes < 10 ? `0${minutes}` : minutes;
  const formattedSeconds = seconds < 10 ? `0${seconds}` : seconds;
  return { formattedMinutes, formattedSeconds }
}
export function formattedMinutes(currentTimeInSeconds) {
  // 转换为分钟和秒  
  const minutes = Math.floor(currentTimeInSeconds / 60);
  const seconds = Math.floor(currentTimeInSeconds % 60);

  // 确保秒数总是两位数  
  const formattedMinutes = minutes < 10 ? `0${minutes}` : minutes;
  const formattedSeconds = seconds < 10 ? `0${seconds}` : seconds;
  return formattedMinutes + ':' + formattedSeconds
}